home *** CD-ROM | disk | FTP | other *** search
/ Graphics Plus / Graphics Plus.iso / amiga / gui / x / xnclds93.lha / os-include_x11.lha / os-include / X11 / extensions / mitmiscstr.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-16  |  1.7 KB  |  57 lines

  1. /************************************************************
  2. Copyright 1989 by The Massachusetts Institute of Technology
  3.  
  4. Permission to use, copy, modify, and distribute this
  5. software and its documentation for any purpose and without
  6. fee is hereby granted, provided that the above copyright
  7. no- tice appear in all copies and that both that copyright
  8. no- tice and this permission notice appear in supporting
  9. docu- mentation, and that the name of MIT not be used in
  10. advertising or publicity pertaining to distribution of the
  11. software without specific prior written permission.
  12. M.I.T. makes no representation about the suitability of
  13. this software for any purpose. It is provided "as is"
  14. without any express or implied warranty.
  15.  
  16. ********************************************************/
  17.  
  18. /* RANDOM CRUFT! THIS HAS NO OFFICIAL X CONSORTIUM BLESSING */
  19.  
  20. /* $XConsortium: mitmiscstr.h,v 1.3 90/05/15 18:50:18 keith Exp $ */
  21.  
  22. #include "MITMisc.h"
  23.  
  24. #define MITMISCNAME "MIT-SUNDRY-NONSTANDARD"
  25.  
  26. typedef struct _SetBugMode {
  27.     CARD8    reqType;    /* always MITReqCode */
  28.     CARD8    mitReqType;    /* always X_MITSetBugMode */
  29.     CARD16    length B16;
  30.     BOOL    onOff;
  31.     BYTE    pad0;
  32.     CARD16    pad1;
  33. } xMITSetBugModeReq;
  34. #define sz_xMITSetBugModeReq    8
  35.  
  36. typedef struct _GetBugMode {
  37.     CARD8    reqType;    /* always MITReqCode */
  38.     CARD8    mitReqType;    /* always X_MITGetBugMode */
  39.     CARD16    length B16;
  40. } xMITGetBugModeReq;
  41. #define sz_xMITGetBugModeReq    4
  42.  
  43. typedef struct {
  44.     BYTE    type;            /* X_Reply */
  45.     BOOL    onOff;
  46.     CARD16    sequenceNumber B16;
  47.     CARD32    length B32;
  48.     CARD32    pad0 B32;
  49.     CARD32    pad1 B32;
  50.     CARD32    pad2 B32;
  51.     CARD32    pad3 B32;
  52.     CARD32    pad4 B32;
  53.     CARD32    pad5 B32;
  54. } xMITGetBugModeReply;
  55. #define sz_xMITGetBugModeReply    32
  56.  
  57.